package com.ds.smartstudio.controller.DTO;

import com.baomidou.mybatisplus.annotation.*;
import com.ds.smartstudio.entity.Area;
import com.ds.smartstudio.entity.Type;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author yangsf
 * @since 2022-07-27 10:04
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "和表格的vo对应", description = "提供表展示设备的数据")
public class DeviceDTO {

    @ApiModelProperty("设备型号")
    private String dsDeviceModel;

    @ApiModelProperty("物理地址")
    private String dsDeviceMac;

    @ApiModelProperty("安装位置  ")
    private String dsDeviceAddr;

    @ApiModelProperty("是否禁用设备 0 为启用 1为禁用")
    private Integer dsDeviceDisable;

    @ApiModelProperty("固件版本")
    private String dsDeviceFirmware;


    private Area dsAreaId;

    private List<Type> dsTypeId;

    private Date createTime;

    private Date modifyTime;

    private Integer dsDeviceId;

    @ApiModelProperty("设备当前状态")
    private String state;

    private Integer dsDeviceStatus;
}
